package com.sui.bigdata.flink.sql.function.scalar;

import org.apache.flink.table.functions.ScalarFunction;

/**
 * @author YongChen
 * @date 2018/12/25 10:18
 * @description
 * @email yong_chen@sui.com
 */
public class Concat extends ScalarFunction {
    public String eval(String... str) {
        return concat(str);
    }
    public String concat(String... str){
        StringBuilder sb=new StringBuilder();
        for(String k:str){
            sb.append(k);
        }
        return sb.toString();
    }
}
